import React, { Component } from 'react'
import {NavLink} from 'react-router-dom'
/* 底部路由 */
export default class TabBar extends Component {
    render() {
        return (
            <div className='tabbar'>
                <NavLink to='/home'>
                    <div className='iconfont icon-elema'></div>
                    <p>首页</p>
                </NavLink>
                <NavLink to='/order'>
                    <div className='iconfont icon-weibiaoti-'></div>
                    <p>订单</p>
                </NavLink>
                <NavLink to='/my'>
                    <div className='iconfont icon-weibiaoti-1'></div>
                    <p>我的</p>
                </NavLink>
            </div>
        )
    }
}
